@layout("/common/container.html", {"title": "菜单", "plugin": "jstree"}){
<style>
    .jstree .permissions-icon,
    .jstree .e-svg-icon{
        display: inline-block;
        width: 18px;
        height: 24px;
        line-height: 26px;
        margin-right: 5px;
        text-align: center;
        vertical-align: top;
        color: #c1bfd0;
    }
    .jstree .e-svg-icon g [fill],
    .input-group-text .e-svg-icon g [fill]{
        fill: #c1bfd0;
    }

    .jstree .permissions-icon.la {
        font-size: 1.5rem;
    }
</style>
<div class="card">
    <#card:head title="菜单" icon="la la-bars"/>
    <div class="card-body">
        <div class="row">
            <div class="col-lg-3 col-md-4 col-12 border-right">
                <form class="e-form e-padding-b-15">
                    <div class="input-group">
                        <input type="text" id="permissions-title" class="form-control" placeholder="请输入关键字">
                        <div class="input-group-append">
                            <button id="search-permissions-btn" class="btn btn-secondary" type="button">搜索</button>
                        </div>
                    </div>
                </form>
                <div class="e-scrollable" data-scrollable="true">
                    <div id="permissions-tree"></div>
                </div>

                <div id="search-permissions" class="e-hide">
                    <div class="tree"></div>
                    <button type="button" class="btn btn-default btn-sm back-btn e-margin-t-5"><i
                            class="la la-arrow-left"></i> 返回
                    </button>
                </div>
            </div>
            <div class="col-lg-9 col-md-8 col-12" id="permissions-info">

            </div>
        </div>
    </div>
</div>
<!-- begin:: 图标 -->
<div class="modal fade icon_modal" id="icon_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
     aria-hidden="true">
    <div class="modal-dialog modal-lg modal-xl" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="exampleModalLabel">点击下方列表中的图标选择</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
            </div>
            <div class="modal-body">
                @include("/common/icon.html"){}
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-info">确认</button>
            </div>
        </div>
    </div>
</div>
<!-- begin:: 图标 -->
<!--begin::页面脚本 -->
<#script src="static/modular/sys/permissions/view.js" />
<!--end::页面脚本 -->
@}